import { createRouter, createWebHashHistory } from "vue-router";

const routes = [
	{
	  path: "/",
	  name: "home",
	  redirect:'/about',
	  component: () =>
	    import(/* webpackChunkName: "about" */ "../views/HomeView.vue"),
	},
	{
	  path: "/about",
	  name: "about",
	  component: () =>
	    import(/* webpackChunkName: "about" */ "../views/about.vue"),
	},
  {
    path: "/dandata",
    name: "dandata",
    component: () =>
      import(/* webpackChunkName: "about" */ "../views/dandata.vue"),
  }
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
